I am a beginner in iPhone app development, I want to display image in UICollectionViewCell from using database.
In our programming I am using code like this :
SqliteDB *images;
images = [SQliteDB alloc] init];
imgArray = [images OpenMyDatabase: @"SELECT images FROM exterior" :@"images"];
So, my problem is how can I display those images?
Tarun Kumar
02-Dec-2015Use my code to display UIImage grid. and add uicollectionView in your xib file.
and, don't forget to set delegate in collection before using that code.
and also in your xib file add UIImageView to your collection view cell and set its tag value to 100.